Skip to main content

OperateVul

Description

process detected vulnerability records.

Request Method

POST

Request Path

/apsara/route/Sas/OperateVul

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoNo sample value for this parameter.vulnerability classification.
regionIdBODYstringYesNo sample value for this parameter.region id
InfoBODYstringNoNo sample value for this parameter.vulnerability record information, described in JSON format, see the request example for details.
versionBODYstringNo2016-01-01version of api
OperateTypeBODYstringNoNo sample value for this parameter.processing operation type, value range: vul_fix: indicates fix vulnerability vul_verify: indicates verification vulnerability vul_rebooted: indicates that it has been restarted to be verified vul_rollback: indicates rollback vul_ignore: indicates that the vulnerability record is ignored vul_undo_ignore: means to cancel ignoring vul_delete: indicates that the vulnerability record is deleted
ReasonBODYstringNoNo sample value for this parameter.if an operation to ignore the vulnerability is performed, use this parameter to pass in the cause of ignoring.

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}